package org.neuedu.ssmp.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.xml.ws.BindingType;

/**
 * <p>
 * 
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ServeList对象", description="")
public class ServeList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "客户id")
    private Integer customerId;

    @ApiModelProperty(value = "客户名")
    @TableField(exist = false)
    private String customerName;

    @ApiModelProperty(value = "操作人id")
    private Integer operatorId;

    @ApiModelProperty(value = "指派人员id")
    private Integer userId;

    @ApiModelProperty(value = "服务类型id")
    private Integer serviceId;

    @ApiModelProperty(value = "服务名")
    @TableField(exist = false)
    private String serviceName;

    @ApiModelProperty(value = "概要")
    private String summary;

    @ApiModelProperty(value = "服务请求")
    private String content;

    @ApiModelProperty(value = "服务状态")
    private Integer state;

    @ApiModelProperty(value = "创建时间")
    private LocalDate createTime;

    @ApiModelProperty(value = "分配时间")
    private LocalDate grantTime;

    @ApiModelProperty(value = "处理时间")
    private LocalDate operatorTime;

    @ApiModelProperty(value = "服务处理内容")
    private String operatorContent;

    @ApiModelProperty(value = "处理结果内容")
    private String resultContent;

    @ApiModelProperty(value = "满意度")
    private Integer agreeLevel;

    @ApiModelProperty(value = "创建人id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人姓名")
    @TableField(exist = false)
    private String createUserName;
}
